package main

import (
	"fmt"
	"time"

	progressbar "gitee.com/zinface/go.simple-progressbar"
)

func main() {
	var pv = progressbar.NewSimpleProgress(progressbar.SimpleColorValue)
	for i := 0; i < 100; i++ {
		fmt.Printf("\r%s ", pv.NextValue())
		fmt.Printf("%d%%", i)
		time.Sleep(40 * time.Millisecond)
	}
}
